// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	9/16/2014 3:01:20 AM				
// -----------------------------

#ifndef _LuaClassRegister_inl
#define _LuaClassRegister_inl

namespace ObjectLua
{

	template<typename T>
	bool LuaClassRegister<T>::s_IsRegistered = false;
	template<typename T>
	LuaTable* LuaClassRegister<T>::s_MetaTable = nullptr;
	template<typename T>
	char LuaClassRegister<T>::s_MetaTableName[];

	/*
	//	Is this class registered?
	*/
	template<typename T>
	bool LuaClassRegister<T>::isRegistered()
	{
		return s_IsRegistered;
	}
	/*
	//	Get the meta table
	*/
	template<typename T>
	LuaTable* LuaClassRegister<T>::getMetaTable()
	{
		return s_MetaTable;
	}
	/*
	//	Get the meta table name
	*/
	template<typename T>
	const char* LuaClassRegister<T>::getMetaTableName()
	{
		return s_MetaTableName;
	}

}

#endif